package booksystem.entity;

public class Cart {
    private int id;
    private String user_id;
    private String cover;
    private String book_id;
    private String one_price;
    private String count;
    private String all_price;

    public Cart() {
    }

    public Cart(int id, String user_id, String cover, String book_id, String one_price, String count, String all_price) {
        this.id = id;
        this.user_id = user_id;
        this.cover = cover;
        this.book_id = book_id;
        this.one_price = one_price;
        this.count = count;
        this.all_price = all_price;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getBook_id() {
        return book_id;
    }

    public void setBook_id(String book_id) {
        this.book_id = book_id;
    }

    public String getOne_price() {
        return one_price;
    }

    public void setOne_price(String one_price) {
        this.one_price = one_price;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getAll_price() {
        return all_price;
    }

    public void setAll_price(String all_price) {
        this.all_price = all_price;
    }
}
